package com.stylefeng.guns.rest.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 审核记录表
 * </p>
 *
 * @author ruiyifeng123
 * @since 2018-06-12
 */
@TableName("wz_check_record")
public class WzCheckRecord extends Model<WzCheckRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 审核记录id
     */
    @TableId(value = "check_record_id", type = IdType.AUTO)
    private Long checkRecordId;
    /**
     * 审核对象id
     */
    @TableField("check_object_id")
    private Long checkObjectId;
    /**
     * 审核类型：1-广告；2-调查问卷；3-新闻;4-实名认证；5-商户认证；6-奖品；
     */
    private Integer type;
    /**
     * 审核结果:0-审核驳回;1-审核通过；
     */
    @TableField("check_result")
    private Integer checkResult;
    /**
     * 审核结果
     */
    @TableField("check_remark")
    private String checkRemark;
    /**
     * 审核人姓名
     */
    @TableField("check_name")
    private String checkName;
    /**
     * 审核人id
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 审核时间
     */
    @TableField("check_time")
    private Date checkTime;
    /**
     * 类型：1-审核；2-修改；3-发布；
     */
    @TableField("check_type")
    private Integer checkType;


    public Long getCheckRecordId() {
        return checkRecordId;
    }

    public void setCheckRecordId(Long checkRecordId) {
        this.checkRecordId = checkRecordId;
    }

    public Long getCheckObjectId() {
        return checkObjectId;
    }

    public void setCheckObjectId(Long checkObjectId) {
        this.checkObjectId = checkObjectId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(Integer checkResult) {
        this.checkResult = checkResult;
    }

    public String getCheckRemark() {
        return checkRemark;
    }

    public void setCheckRemark(String checkRemark) {
        this.checkRemark = checkRemark;
    }

    public String getCheckName() {
        return checkName;
    }

    public void setCheckName(String checkName) {
        this.checkName = checkName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Integer getCheckType() {
        return checkType;
    }

    public void setCheckType(Integer checkType) {
        this.checkType = checkType;
    }

    @Override
    protected Serializable pkVal() {
        return this.checkRecordId;
    }

    @Override
    public String toString() {
        return "WzCheckRecord{" +
        "checkRecordId=" + checkRecordId +
        ", checkObjectId=" + checkObjectId +
        ", type=" + type +
        ", checkResult=" + checkResult +
        ", checkRemark=" + checkRemark +
        ", checkName=" + checkName +
        ", userId=" + userId +
        ", checkTime=" + checkTime +
        ", checkType=" + checkType +
        "}";
    }
}
